<%-- 
    Document   : definir-menu-jour
    Created on : 11 juin 2012, 17:28:10
    Author     : TaKeO
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/style.css" />
        <title>Définir le menu du jour</title>
    </head>
    <body>
    <div id="container"> 
        <div id="header">
            <%@include file="template/header.jsp" %>
        </div>
        <div id="center-layout">
            <div id="content">
                <h1>Ajouter un produit</h1>
                <form method="POST" name="form" class="form-horizontal">
                    <fieldset>
                        
                        <div class="control-group">
                            <label class="control-label" for="resto">Choisir le restaurant :</label>
                            <div class="controls">
                                <select id="resto" name="resto">
                                    <c:forEach items="${restos}" var="resto">
                                        <option value="${resto.id_restaurant}">${resto.nom}</option>
                                    </c:forEach>
                                </select>
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label" for="menu">Choisir le menu :</label>
                            <div class="controls">
                                <select id="menu" name="menu">
                                    <c:forEach items="${menus}" var="menu">
                                        <option value="${menu.id_menu}">${menu.nom}</option>
                                    </c:forEach>
                                </select>
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <div class="controls">
                                <input type="submit" value="Définir menu du jour" class="btn-primary"/>
                            </div>
                        </div>
                    </fieldset>
                </form>                                    
            </div>
        </div>
            <div id="right-layout">
                
            </div>
            <div id="left-layout">
                <%@include file="template/left-layout.jsp" %>
            </div>
    </div>
    </body>
</html>
